import { useContext } from "react"
import { RouterContext } from "../context/RouterContext"

const useRouter = ()=>{
  const a =  useContext(RouterContext)
  return a
}
export default useRouter